<template>
    <div class="list">
        list
        <!-- <div> 
            <router-link to="/list/guonei">国内</router-link>
            <router-link :to="{name:'gj'}">国际</router-link> 
        </div> -->
        <div>
            <router-link
                v-for="nav in navs"
                :key="nav.id"
                :to="{name:nav.name}"
            >{{nav.title}}</router-link>
        </div>
        <router-view></router-view>
    </div>
</template>

<script>
export default {
    data(){
        return {
            navs:[
                {id:1,name:"gn",title:"国内"},
                {id:2,name:"gj",title:"国际"},
            ]
        }
    }
}
</script>
<style>

</style>
